<div>
    {% for exercise in exercises %}
    <a href="{{url('student/generateTest/'~exercise.id)}}">
        <div class="col-md-4 col-sm-6 col-xs-12">
            <img src="{{'s'}}"/>
            <label>{{exercise.name}}</label>
            {% if exercise.startTime %}
            <span>{{date('Y-m-d H:i:s', exercise.startTime) ~ '-' ~ date('Y-m-d H:i:s', exercise.endTime)}}</span>
            {% endif %}
        </div>
    </a>
    {% endfor %}
</div>